import { axiosApi } from '@/utils/request'

export const loginApi = <T, K>(data: T) => {
  return axiosApi.post<K>('/user/login', data)
}
